package com.qianfeng.openplateform.search;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;

/**
 * @author 江江
 * @Date 2020/7/30 10:10
 */
@SpringBootApplication
@EnableEurekaClient
public class SearchStartApp {
    public static void main(String[] args) {
        SpringApplication.run(SearchStartApp.class,args);
    }

    @Bean
    public ObjectMapper getMapper(){
        return new ObjectMapper();
    }
}
